package com.xx.eshop.service;

import java.util.List;
import java.util.Map;

import com.xx.eshop.entity.Category;

public interface CategoryService {
	
	public Category findById(int id);
	
	public void save(Category category);
	
	public void update(Category category, Map<String, Integer> rowsmap);
	
	public void delete(int id);
	
	public Category findOne(int id);
	
	public List<Category> findAll();

	public int findNextId(int pid);

	public List<Category> findByPid(int pid);

}
